Skip to main content

PowerRange

PowerRange[b] generates the list {1,10,100,…,max}, where max is the largest power of 10 that does not exceed b.

PowerRange[a,b] generates the list {a,10a,100a,…,max}, with successive elements increasing by factors of 10.

PowerRange[a,b,r] uses factors of r instead of 10.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.